// api 接口列表
const api = {
  // 用户
  apiUser: {
    login:'user/login',
    register:'user/register',
    update:'user/update',
    logout:'user/logout',
    userinfo:'user/userinfo'
  },
  // personspace
  apiPersonSpace:{
    resumeList:'personspace/resume/list',
    resumeAdd:'personspace/resume/add',
    resumeCompile:'personspace/resume/compile',
    worksHome:'personspace/works/home',
    videoList:'personspace/works/video_list',
    soundList:'personspace/works/sound_list',
    textList:'personspace/works/text_list',
    imgList:'personspace/works/img_list',
    codeList:'personspace/works/code_list'
  },
  //jobspace
  apiJobSpace:{
    scheduleList:'jobspace/schedule/list',
    scheduleAdd:'jobspace/schedule/add',
    scheduleUpdate:'jobspace/schedule/update',
    scheduleDelete:'jobspace/schedule/delete'
  },
  //community
  apiCommunity:{
    blogList:'community/blog/list',
    blogAdd:'community/blog/add',
    blogAddPraise:'community/blog/add_praise',
    blogDetail:'community/blog/detail',
    blogSearch:'community/blog/search',
    blogRepDetail:'community/blog/rep_detail',
    blogRepAdd:'community/blog/rep_add',
    blogRepAddPraise:'community/blog/rep_add_praise'
  },
  // tools
  apiTools:{
    option:'tools/tools/option',
    list:'tools/tools/list',
    add:'tools/tools/add',
    list_social:"/tools/tools/list_social",
    add_social:"/tools/tools/add_social"
  },
  //common
  apiCommon:{
    province:'/common/province',
    city:'/common/city',
    area:'/common/area',
    weather:'/common/weather'
  },
  //feedback
  feedback:{
    add:'feedback/add'
  },
}
export default api
